package com.ktgj.flight.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.ktgj.flight.common.linkstar.domain.searchFlight.one.FlightTransfer;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**所有航班查询整合的数据
 * @author wyj
 * @create 2021-12-01 10:58
 */
public class FlightResponseVo implements Serializable {
    //public int channelType;
    /**
     * 单程
     */
    public List<FlightVo> flightVos;

    /**
     * 往返App使用
     */
    /*@JsonInclude(JsonInclude.Include.NON_EMPTY)
    public List<FlightVo> flightVosApp;*/

    /**
     * 中转数据
     */
    public List<FlightTransfer> flightTransfers;

    /**
     * 回程数据
     */
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    public List<FlightVo> backFlightVos;

    public FlightResponseVo() {
        this.flightVos = new ArrayList<>();
        this.backFlightVos = new ArrayList<>();
        this.flightTransfers = new ArrayList<>();
        //this.flightVosApp = new ArrayList<>();
    }
}
